﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GtsServer.Model;
using System.ServiceModel;

namespace GtsServer.Service.TaskStartEndService
{
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        void Edit(Task model);
        [OperationContract]
        void Delete(int id);

        /// <summary>
        /// 更改更新时间及更新数量
        /// </summary>
        /// <param name="time">时间间隔（秒）</param>
        /// <param name="num">更新数量</param>
        [OperationContract]
        void EditLotteryPool(int time, int num);

        /// <summary>
        /// 更改比赛的机器人参数
        /// </summary>
        /// <param name="taskID"></param>
        [OperationContract]
        void EditTaskRobotScore(TaskRobotSetting model);
    }
}
